package content

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/content/v1"
)

func (c *ControllerV1) SlideshowStore(ctx context.Context, req *v1.SlideshowStoreReq) (res *v1.SlideshowStoreRes, err error) {
	res = &v1.SlideshowStoreRes{}
	err = service.Slideshow().Store(ctx, &req.SlideshowFormInput)
	return
}
